package com.casic.ops.entity.request;

import com.casic.ops.consts.app.StageType;
import lombok.Data;

import java.util.List;

/**
 * @ClassName ops-platform
 * @Description  app 配置请求
 * @Author mianbin
 * @Date 2022/5/31 10:59
 * @Version 1.0
 **/
@Data
public class ApplicationConfigRequest {

    /**
     * 应用id
     */
    private Long appId;

    /**
     * 环境id
     */
    private Long profileId;

    /**
     * 阶段类型
     *
     * @see StageType
     */
    private Integer stageType;

    /**
     * 应用环境变量
     */
    private ApplicationConfigEnvRequest env;

    /**
     * 机器id
     */
    private List<Long> machineIdList;

    /**
     * 构建操作
     */
    private List<ApplicationConfigActionRequest> buildActions;

    /**
     * 发布操作
     */
    private List<ApplicationConfigActionRequest> releaseActions;

}
